//作战报告弹层配置项
export default {
    labelWidth: '100px', //from表单的宽度
    items: [
        [{key: 'title',label: '作战总结',colspan:24,type:'input',}],
        [{key: 'desc',label: '作战描述',colspan:24,type:'textarea',attrs: {autosize: {minRows: 7,maxRows: 15}}}],
        [{key: 'files',label: '作战结果',colspan:24,type:'files', autoUpload:false, //是否在选取文件后立即进行上传
        multiple:true, //是否支持多选文件
        limit:5,	//最大允许上传个数
        action:"#",attrs: {headers: {'Content-Type': 'multipart/form-data'}}}],
        [{key: 'tag',label: '动态编辑标签',colspan:24,type:'dynamicEditTag',size:"small "}],
    ],
    rules: {
        title:[{required: true,message:'请输入作战总结',trigger:'blur'}],
        desc:[{required: true,message:'请输入作战描述',trigger:'blur'}]
    }
}